package ru.spb.osll.myfit.client.widget;

import ru.spb.osll.myfit.common.PageExecutingResult;

public class ResultTableEvent {

	public enum ResultTableEventType{
		OPEN_PAGE_RESULT,
		STOP_EXECUTION
	};

	private final ResultTableEventType m_type;
	private PageExecutingResult m_result;

	public ResultTableEvent(ResultTableEventType type, PageExecutingResult result){
		this.m_result = result;
		this.m_type = type;
	}

	public PageExecutingResult getResult() {
		return m_result;
	}

	public ResultTableEventType getType() {
		return m_type;
	}

}

